How can I turn off calculated columns in an Excel table from a macro using VBA? [migrated]
Posted
by
user41293
on Programmers
See other posts from Programmers
or by user41293
Published on 2011-11-22T17:29:59Z
Indexed on
2011/11/22
18:14 UTC
Read the original article
Hit count: 263
I am working on a macro that inserts formulas into a cell in an Excel table.
The Excel table does the automatic filling of columns and fills all the cells in that column with the formula, but all I want is one cell to have the formula. I cannot just turn off automatic formula for tables as I need to have other people use this worksheet on their systems.
Is there a way to turn off the automatic filling of formulas in a table using VBA in a macro? It just needs to be temporary: I just want to turn it off, put in my formulas, then turn it back on.
© Programmers or respective owner